package com.k3cloud.base.dto;


import com.k3cloud.base.dto.entity.HttpClientTokenBase;

import java.util.HashMap;
import java.util.Map;

public abstract class HttpClientTokenDTO<T> extends HttpClientTokenBase {
    private Map<String,Object> authorization=new HashMap<>();
    private T threadContent;

    public HttpClientTokenDTO(T threadContent) {
        this.threadContent = threadContent;
    }

    @Override
    public Map<String,Object> getAuthorization() {
        return  authorization;
    }

    public T getThreadContent() {
        return threadContent;
    }

    public void setThreadContent(T threadContent) {
        this.threadContent = threadContent;
    }
}
